package com.example.makerspace.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "git")
public class GitConfig {
    public static String hostUrl;
    public static String personalAccessToken;

    public static String getHostUrl() {
        return hostUrl;
    }

    public static void setHostUrl(String hostUrl) {
        GitConfig.hostUrl = hostUrl;
    }

    public static String getPersonalAccessToken() {
        return personalAccessToken;
    }

    public static void setPersonalAccessToken(String personalAccessToken) {
        GitConfig.personalAccessToken = personalAccessToken;
    }
}

